﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL_HealthInsurance;
using DTO_HealthInsurance;

namespace HealthInsuranceMgm
{
    public partial class Policy : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            BLLPolicies obj = new BLLPolicies();
            DTOPolicies objPolicy = new DTOPolicies();
            objPolicy.PolicyId = Convert.ToInt32(Request.QueryString["id"]);
            dlPolicyDetail.DataSource = obj.GetPolicyById(objPolicy);
            dlPolicyDetail.DataBind();
        }
    }
}